package com.azt.provider;

import com.azt.api.pojo.Category;
import com.azt.api.pojo.Pcate;

import java.util.List;
import java.util.Map;

/**
 *
 * 类别缓存
 * Created by 张栋 on 2017/2/2818:52
 */
public class CategoryConstants {

   //记录最后更新的时间
   public static String lastUpdateTime;

   //所有的categories ,内带关联
   public static  List<Category> categories;

   // key为category的id,内带关联
   public static Map<String,Category> categoryByid;


   /**
    * key 为父id ,value 为类别,内关联
    * Created by 张栋 on 2017/3/22 9:33
    */
   public static Map<String,List<Category>> categroryByPid;







}
